<include file="public@header"/>

</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="">产品列表</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="get" action="{:url('admin/goods/code_password_info')}" _lpchecked="1">
        卡号:
        <input type="text" value="{$code_id|default=''}" name="code_id" class="form-control">
        订单号:<input type="text" value="{$order_number|default=''}" name="order_number" class="form-control">
        <button class="btn btn-primary">搜索</button>
    </form>
    <table class="table table-bordered margin-top-20">
        <thead>
        <tr>
            <th>卡号</th>
            <th>内容</th>
            <th>创建时间</th>
            <th>状态</th>
        </tr>
        </thead>
        <tbody>
        <volist name="$data" id="vo">
            <tr>
                <td>{$vo.card_number}</td>
                <td>{$vo.content}</td>
                <td>{:date('Y-m-d H:i:s',$vo.create_time)}</td>
                <td>
                    {:getBayStatus($vo['pay_state'])['name']}
                </td>
            </tr>
        </volist>

        </tbody>
    </table>
    <ul class="pagination">
        {$data->render()}
    </ul>
</div>
</body>
</html>
<script src="__STATIC__/js/admin.js"></script>